public class Test {
    public static void fun(Shape shape){
        shape.draw();
    }
    public static void main(String[] args) {
      /*  Shape[] shapes={new A(),new Flower(),new Rect(),new Flower(),new Rect()};
        for (Shape shape: shapes) {
            fun(shape);

        }
*/
        Shape shape=new Rect();


    }
}
